<?php

declare(strict_types=1);

namespace App\Record\Model;

use Mine\MineModel;

/**
 * @property int $id 
 * @property string $order_sn 订单号
 * @property string $text 通知报文
 * @property int $status 通知处理状态 0 待处理 1 已处理
 * @property int $create_time 
 * @property int $update_time 
 */
class RecordPaymentNotice extends MineModel
{
    protected ?string $dateFormat = 'U';
    const CREATED_AT = 'create_time';
    const UPDATED_AT = 'update_time';
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'record_payment_notice';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'order_sn', 'text', 'status', 'create_time', 'update_time'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'status' => 'integer', 'create_time' => 'integer', 'update_time' => 'integer'];
}
